package org.zhenggn.designpattern.chain;

/**
 * Created by zhenggn on 2017/5/3.
 */
public abstract class SaleHandler {
    protected SaleHandler successor = null;

    public void setSuccessor(SaleHandler successor) {
        this.successor = successor;
    }
    public abstract boolean sale(String user,String customer,SaleModel saleModel,User u);
}
